DECLARE @Id Int                               
SELECT @Id = Id From sysobjects Where Name = 'Sahmiyeh'
if not Exists(SELECT * FROM syscolumns WHERE id = @Id and Name = 'IsRequireNationalCode')
  Alter Table dbo.Sahmiyeh Add  IsRequireNationalCode BIT DEFAULT(0)
